import xadmin
from xadmin import views
from .models import Banner
class GlobalSettings(object):
    """xadmin的全局配置"""
    site_title = 'TaoTao'  # 设置站点标题
    site_footer = "3+2center有限公司"  # 设置站点的页脚
    menu_style = "accordion"  # 设置菜单折叠

xadmin.site.register(views.CommAdminView, GlobalSettings)
xadmin.site.register(Banner)
